# coding=utf-8
from pymongo import MongoClient

# 字体链接
font_url = 'https://static.tianyancha.com/fonts-styles/fonts/{}/{}/tyc-num.svg'
# 数据库配置
host = '127.0.0.1'  # host
port = 27017  # port
dbname = 'tyc_font_crack'  # 仓库
collections = 'font'  # 集合
collections2 = 'fontlog' # svg集合
conn = MongoClient(host, port)
db = conn[dbname]
client = db[collections]
client2 = db[collections2]
